A New Transparent Java Thread Migration System Using Just-in-time Recompilation
نویسندگان
چکیده
Thread migration is to support the movement of threads across machine boundaries in a distributed computing environment. It can improve load balancing and the execution efficiency of multithreaded programs. In this paper, we introduce a new approach that employs the technique of Just-in-Time (JIT) recompilation to support transparent thread migration. With JIT recompilation, the native thread execution mode is preserved, and much of the space and time overheads of previous solutions based on code instrumentation can be eliminated. The new thread migration system is integrated into the JESSICA2 distributed JVM. The measured results show that our approach is beneficial to the overall system in supporting the transparent execution of Java applications on clusters.
منابع مشابه
JESSICA2: A Distributed Java Virtual Machine with Transparent Thread Migration Support
A distributed Java Virtual Machine (DJVM) spanning multiple cluster nodes can provide a true parallel execution environment for multi-threaded Java applications. Most existing DJVMs suffer from the slow Java execution in interpretive mode and thus may not be efficient enough for solving computation-intensive problems. We present JESSICA2, a new DJVM running in JIT compilation mode that can exec...
متن کاملLightweight Transparent Java Thread Migration for Distributed JVM
A distributed JVM on a cluster can provide a highperformance platform for running multi-threaded Java applications transparently. Efficient scheduling of Java threads among cluster nodes in a distributed JVM is desired for maintaining a balanced system workload so that the application can achieve maximum speedup. We present a transparent thread migration system that is able to support high-perf...
متن کاملDistributed Java Virtual Machine with Thread Migration
of thesis entitled “Distributed Java Virtual Machine with Thread Migration” submitted by Wenzhang Zhu for the degree of Doctor of Philosophy at the University of Hong Kong in August 2004 Recent advances in better Java class libraries and Just-in-Time (JIT) compilation techniques have greatly improved the performance of Java to match that of C/C++. To fully exploit Java’s multithreading feature ...
متن کاملBytecode Transformation for Portable Thread Migration in Java
This paper proposes a Java bytecode transformation algorithm for realizing transparent thread migration in a portable and e cient manner. In contrast to previous studies, our approach does not need extended virtual machines nor source code of target programs. The whole state of stack frames is saved, and then restored at a remote site. To accomplish this goal, a type system for Java bytecode is...
متن کاملSingleJava: A Distributed Java Virtual Machine Based on Thread Migration
A distributed Java virtual machine called SingleJava based on thread migration is proposed in this paper. SingleJava can be used to build a distributed computing framework while keeping itself completely transparent to Java programmers. The main idea underlying is to improve the inevitable Java virtual machine in a Java based software system, i.e., adding a build-in distributed infrastructure t...
متن کامل